<template>
  <div>
    <ComHeader />
    <router-view v-slot="{ Component }">
      <transition name="fade">
        <component :is="Component" />
      </transition>
    </router-view>
    <ComFooter />
  </div>
</template>

<script>
import ComHeader from '../components/header.vue'
import ComFooter from '../components/footer.vue'

export default {
  name: 'App',
  components: {
    ComHeader,
    ComFooter,
  },
}
</script>

<style>
</style>